package net.lab1024.sa.admin.module.business.category.dao;

import java.util.List;
import net.lab1024.sa.admin.module.business.category.domain.entity.FrontCategoryEntity;
import net.lab1024.sa.admin.module.business.category.domain.form.FrontCategoryQueryForm;
import net.lab1024.sa.admin.module.business.category.domain.vo.FrontCategoryVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 前台类目 Dao
 *
 * @Author jabari
 * @Date 2023-06-01 15:12:18
 * @Copyright 51dev.cn
 */

@Mapper
@Component
public interface FrontCategoryDao extends BaseMapper<FrontCategoryEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<FrontCategoryVO> queryPage(Page page, @Param("queryForm") FrontCategoryQueryForm queryForm);


}
